<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Admin Control Panel</title>
        <link media="all" rel="stylesheet" type="text/css" href="{$smarty.const.HOST_SCOMMON}css/reset.css?{$smarty.const.UPDATE_CSS}"/>
        <link media="all" rel="stylesheet" type="text/css" href="{$smarty.const.HOST_STATICS}admin/css/tag.css?{$smarty.const.UPDATE_CSS}"/>
        <link media="all" rel="stylesheet" type="text/css" href="{$smarty.const.HOST_STATICS}admin/css/main.css?{$smarty.const.UPDATE_CSS}"/>        
        <link media="all" rel="stylesheet" type="text/css" href="{$smarty.const.HOST_STATICS}admin/css/content.css?{$smarty.const.UPDATE_CSS}"/>   
		<link media="all" rel="stylesheet" type="text/css" href="{$smarty.const.HOST_STATICS}admin/css/table-col.css?{$smarty.const.UPDATE_CSS}"/>   
        {if isset($arrCSS) && is_array($arrCSS)}
            {section name=i loop=$arrCSS}
            	<link href="{$arrCSS[i]}?{$smarty.const.UPDATE_CSS}" type="text/css" rel="stylesheet" media="all" />
            {/section}
        {/if}
        <script type="text/javascript">
			var HOST_BACKEND	= "{$smarty.const.HOST_BACKEND}";
			var HOST_STATIC 	= "{$smarty.const.HOST_STATICS}";
			var HOST_SCOMMON 	= "{$smarty.const.HOST_SCOMMON}";
			var	strMsg			= "{$strMsg}";			
			var	strError		= "{$strError}";	
		</script>
        <script type="text/javascript" src="{$smarty.const.HOST_SCOMMON}js/library/jquery-1.7.1.js"></script>
    </head>
<body>
	<div class="wrapper">
    	{if isset($AppUI->id) && $AppUI->id > 0}
    		<header id="head"> 
                <div class="top">
                    <hgroup>
                        <h1><img src="{$smarty.const.HOST_STATICS}admin/img/header.gif" width="468" height="80" alt="Administrator Control Panel"></h1>                  
                    </hgroup>                    
                    <ul>                    	
                        <li><a href="{$smarty.const.HOST_BACKEND}index/changepw">{$language.ahref.changepw}</a></li>
                        <li>|</li>
                        <li><a href="{$smarty.const.HOST_BACKEND}index/logout">{$language.ahref.logout}</a></li>
                    </ul>
                </div>            
        		<nav>
                    {include file="common/menu.tpl"}
            	</nav>
        	</header>
        {/if}
    	